package ibmetp.mis.serviceImpl;

import ibmetp.mis.dao.ResToRoleDao;
import ibmetp.mis.service.ResToRoleService;
/**
 * 
 * @author IBMETP061 LIN A ER
 * @created 2011-10-13
 *
 */
public class ResToRoleServiceImpl implements ResToRoleService {
	ResToRoleDao rr=new ResToRoleDao();
    /**
     * 通过roleIds和resourceIds为角色配置资源的接口函数实现
     * @param roleIds
     * @param resourceIds
     * @return
     */
	public String addResRole(String roleIds, String resourceIds) {
		// TODO Auto-generated method stub
		rr.addResRole(roleIds, resourceIds);
		return null;
	}
	/**
	 * 通过roleIds和resourceIds为角色卸载资源的接口函数实现
	 * @param roleIds
	 * @param resourceIds
	 * @return
	 */
	public String removeResRole(String roleIds, String resourceIds) {
		// TODO Auto-generated method stub
		rr.removeResRole(roleIds, resourceIds);
		return null;
	}

}
